#ifndef _BUOLA_CHART_CXAXIS_H_
#define _BUOLA_CHART_CXAXIS_H_

#include <buola/chart/caxis.h>

namespace buola { namespace chart {

class CXAxis : public CAxis
{
public:
    CXAxis();
    virtual ~CXAxis();
    
public:
///////////////////////////////
//! \name getting properties
//@{
    virtual bool CanZoom();
//@}

////////////////////////////
//! \name drawing process
//@{
    //!reduces the plotting area to account for axis space
    void ReduceRect(CXYChartContext &pC);
    //!autoscales if enabled and sets limits in the context
    void CalcLimits(CXYChartContext &pC);
    //!draws the axis to the GC
    void Draw(CXYChartContext &pC);
//@}

    CRect_d mRect;
};

/*namespace chart*/ } /*namespace buola*/ }

#endif
